package com.jd.ipservice;

import java.util.Set;

/**
 * system.properties配置文件
 */
public final class FAConstants extends ConfigurableContants {

	public final static String NOT_EXIST = "-";

	public final static String LINE_SPLIT = " ";

	public final static String IP_OTHER = "其他";

	public final static String OTHER = "OTHER";

	/**
	 * 统计容器map 输出大小值
	 */
	public final static int OUTPUT_STAT_MAP_SIZE = Integer.parseInt(getProperty("output.stat.map.size", "100000"));

	/**
	 * 一小时的毫秒数
	 */
	public static final long MILL_SECOND_ONE_HOUR = 3600 * 1000l;

	/**
	 * 频道的上层节点信息配置文件路径
	 */
	public static final String PATH_CHANNEL_UPPER_NODES_INFO = getProperty("path.channelUpperNodes.xml");

	/**
	 * IP范围   for  IPService
	 */
	public static final String NODE_IP_RANGE_FILE = getProperty("path.nodeIpRange.txt", "conf/nodeIpRange.txt");

	/**
	 * 应该过滤的URL结尾
	 */
	public final static Set<String> URL_FILTERS = getSetProperty("Url.Filters");

	/**
	 * 目录统计的channelIds
	 */
	public static final Set<String> DIR_5MIN_CHANNELIDS = getSetProperty("Directory5Minutes.channelid");

	public final static Set<String> PAGEVIEW_SUFFIX = getSetProperty("pageview.suffix");

	public final static Set<String> PROVINCE_ISP_STAT_USERID = getSetProperty("province_isp_stat_userid");

	public static final Set<String> QQGREENDIAMOND_USERIDS = getSetProperty("QQGreenDiamond.userid");

}